Skip to content

Modified the SubCommand constructor#1

Merged
CroaBeast merged 1 commit intoCroaBeast:mainfrom
Heron4gf:main
Apr 3, 2025
Merged

Modified the SubCommand constructor#1
CroaBeast merged 1 commit intoCroaBeast:mainfrom
Heron4gf:main

Conversation

@Heron4gf
Copy link
Contributor

@Heron4gf Heron4gf commented Apr 3, 2025

Modified the SubCommand constructor to accept a name and aliases as array of String.

Personally I think that is a easier and more maintainable way of managing such subcommands

Copy link
Owner

@CroaBeast CroaBeast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems great, I'll the old constructor as a separate one. Approved.

@CroaBeast CroaBeast merged commit ae014c5 into CroaBeast:main Apr 3, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants